<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script>
        var a = 'abcdef';
        var a = 123;
        var a = 123.45;
        var a = true;
        var a = false;
        var a = new Array(1,9814961,1561,69);
        var a = new Object();
        var a = null;
        var a = undefined;
        var a = function () {
            alert('6666');
        }

        // var a = new Array(1,9814961,1561,69);
        // document.write(a);
        // alert(a);

        // a();

        console.log('值: ',a);
        console.log(typeof(a));

    </script>
</head>
<body>
    <h1>JS  变量</h1>
    <hr>
</body>
</html>



